#pragma once

#include "IEntity.h"
#include "../SGD Wrappers/SGD_GraphicsManager.h"


class Camera {

		//	Cam stuffs
	SGD::Point m_cameraPos;
	SGD::Point m_offset;

	IEntity* Focus;

public:

	Camera();
	~Camera();

	void Update(float elapsedtime, SGD::Size wsize);

		//	World Size && Camera	
	SGD::Point GetCameraPosition(){ return m_cameraPos; }
	SGD::Point GetCameraOffset(){ return m_offset; }
	
	void SetCameraPos(SGD::Point pos){ m_cameraPos = pos; }
	void SetCameraOffset(SGD::Point pos){ m_offset = pos; }

		//	Camera Focus
	IEntity* GetCamFocus(){ return Focus; }
	void SetCamFocus(IEntity* f){ Focus = f; }
};

